﻿<Window x:Class="WaveTech.Scutex.Manager.Windows.OpenProjectWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        x:Name="openProjectWindow"
        Title="Open Project" Height="300" Width="300" WindowStartupLocation="CenterOwner">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/DataTemplates.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="30" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <GroupBox Grid.Row="0" Grid.Column="0" Header="Projects" Margin="4,4,4,4" Foreground="Black">
                <ListBox x:Name="lstProjects" ListBoxItem.MouseDoubleClick="lstProjects_MouseDoubleClick" ItemsSource="{Binding Source={StaticResource allLicensesData}}" DisplayMemberPath="Name" />
            </GroupBox>

		<Button Grid.Row="1" Grid.Column="0" x:Name="btnOpenProject" Content="Open Project" HorizontalAlignment="Right" Click="btnOpenProject_Click" Margin="2,2,2,2" />
        </Grid>
</Window>
